package nicg.st.service.evaldataenterservice;

public class Calculation18 implements Calculation {
    private double n;
    private double m;
    private double h;

    @Override
    public double calculate() {
        double temp = (n/(m+zeroBuffer))*100;

        if(temp >= h){
            return 100;
        }else{
            return temp;
        }
    }

	public double getN() {
		return n;
	}

	public void setN(double n) {
		this.n = n;
	}

	public double getM() {
		return m;
	}

	public void setM(double m) {
		this.m = m;
	}

	public double getH() {
		return h;
	}

	public void setH(double h) {
		this.h = h;
	}

    
}
